﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CityGateway.Objects
{
    [Serializable]
    [DataContract]
    public class Budget
    {
        [DataMember]
        public int Transportation { get; set; }

        [DataMember]
        public int Education { get; set; }

        [DataMember]
        public int Police { get; set; }


        [DataMember]
        public int FireDepartment { get; set; }


        [DataMember]
        public int HealthCare { get; set; }


        [DataMember]
        public int Energy { get; set; }


        [DataMember]
        public int Waste { get; set; }

        [DataMember]
        public int Water { get; set; }



        [DataMember]
        public int Residential { get; set; }

        //[DataMember]
        //public int Residential2 { get; set; }


        //[DataMember]
        //public int Residential3 { get; set; }


        [DataMember]
        public int Commercial { get; set; }

        //[DataMember]
        //public int Commercial2 { get; set; }

        //[DataMember]
        //public int Commercial3 { get; set; }


        [DataMember]
        public int Industrial { get; set; }

        //[DataMember]
        //public int Industrial2 { get; set; }

        //[DataMember]
        //public int Industrial3 { get; set; }


        [DataMember]
        public int Spendings { get; set; }



        public override string ToString()
        {
            return (this.Commercial + this.Education + this.Energy + this.FireDepartment + this.HealthCare + this.Police + this.Transportation + this.Waste + this.Water).ToString();

        }

    }
}
